package yyr.cn.com.observerpattern.suberscribe;

import android.util.Log;

/**
 * 开会的员工
 */
public class Staff implements  Observer {

    private String  staffName;
    public Staff(String  name) {
        this.staffName=name;
    }

    @Override
    public void update(String message) {
        System.out.println("老板发话："+message+"---->  "+staffName+"收到！");
    }
}
